package com.bjut.dao;
 
import com.bjut.dao.impl.AttendanceInfoDaoImpl;
import com.bjut.domain.AttendanceInfo;
 
import java.util.List;

import com.bjut.domain.AttendanceInfo;
 
public interface AttendanceInfoDao { 
	public void save(AttendanceInfo attendanceInfo); 
	public AttendanceInfoDaoImpl find(int id);  
	public AttendanceInfo get(int id);
 
	public void delete(AttendanceInfo attendanceInfo);

	public void delete(int id);

	public void update(AttendanceInfo attendanceInfo);

	public AttendanceInfo findById(int id);

	public AttendanceInfo findByYearAndMonthByPage(int year,int month,int pageNo, int pageSize) ;
	
	public AttendanceInfo findByEmpId(int empid);

	public List<AttendanceInfo> findAllByPage(int pageNo, int pageSize);

	public long getCount();
	public long getCountByDepartment(int department_id);
}
